﻿using DocumentFormat.OpenXml.Wordprocessing;
using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Jn698._45GWTool.Models.DataGrid
{
    public class JobConfigTimeData:ObservableObject
    {
		
		private int startHour;

		public int StartHour
		{
			get { return startHour; }
			set { startHour = value; RaisePropertyChanged(); }
		}

        private int startMin;

        public int StartMin
        {
            get { return startMin; }
            set { startMin = value; RaisePropertyChanged(); }
        }

		private int endHour;

		public int EndHour
		{
			get { return endHour; }
			set { endHour = value; RaisePropertyChanged(); }
		}

		private int endMin;

		public int EndMin
		{
			get { return endMin; }
			set { endMin = value; RaisePropertyChanged(); }
		}

        public override string ToString()
        {
            return $"{StartHour},{StartMin},{EndHour},{EndMin}";
        }
    }
}
